#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int main()
{
	char a[] = "A@nice.boy";
	const char sep[] = "@.";
	/*printf("%s", strtok(a, sep));
	printf("%s", strtok(NULL, sep));*/
	char arr[30];
	char* str = NULL;
	strcpy(arr, a);
	for (str = strtok(arr, sep); str != NULL; str = strtok(NULL, sep))
	{
		printf("%s", str);
	}
}